package com.ali;

import rpc.proxy.MyProxyFactory;
import com.ali.service.TestService;

public class ConsumerMain {
    public static void main(String[] args) {
        TestService testService = MyProxyFactory.getProxy(TestService.class);
        String result = testService.hello("ali");
        System.out.println("result：" + result);
    }
}